home *** CD-ROM | disk | FTP | other *** search
- On 29-Jan-98, Alastair Murray smashed the keyboard with:
- >> On blizz1230/50 with fpu, AMOS has often crashes. I used several days to
- >> try and find the bug, so that I could avoid it..
- >>
- >> Problem is:
- >> -A fast moving loop with an 'inkey$' inside, something like:
- >> Do
- >> w$=Inkey$
- >> if.....
- >> else if...
- >> else if...
- >> endif
- >> Loop
- >> (As long as the user don't push a key the loop keeps running around)
- >> After some time the loop begins to be unstable (strange chars might be
- >> written, some lines appears on WB) and the Amiga Crashes.. This takes
- >> around 3 seconds to happen..
- >>
- >> The solution is to put a 'Multi Wait' into the loop, this also has the
- >> advantage of giving some CPU-power to other programs while yours is
- >> awaiting the user to do something. I expect a similar fix would be to
- >> put 'wait vbl' inside the loop, but I've never tried..
-
- >ahhhh.
- >Well actually, I'm using a blizz1230/50 with fpu with no problems but
- >as I've said before alot of people have troubles running some of my
- >programs. That sounds like it may help. I'll give it a go.
-
- I've done some experiments, and it appears that the loop gets unstable
- when it's runing VERY fast. So the crashes is seen more often if AMOS
- is running from a clean WB (No Opus or other things running). As soon
- as something else is running the chance of crash drops..
-
- --
- Happy greetings, Yours..
- __________________________________________________________________________
- /_ __/ __ / __ /\ ___\ __ \__ _\ aka. JENS VANG PETERSEN
- / / / /_/ / ____/ \ \___\ __ \ \ \ top_cat@post8.tele.dk
- /_/ /_____/_/ \_____\_\ \_\ \_\
- --------------------------------------------------------------------------
- http://home8.inet.tele.dk/top_cat/
- -*- Home of 'The Ultimate Extension list' for AMOS TC & AMOS PRO -*-
- -*- SUPPORT - AMOS - AMIGA - AQUA -*-
- --------------------------------------------------------------------------
- I haven't lost my mind; it's backed up on tape somewhere.
- --------------------------------------------------------------------------
-
-
-